package com.gdc.cloud.service.impl;

import com.gdc.cloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * Description: 支付接口 失败回调 业务实现类
 * @author: gdc
 * @date: 2021/2/2
 * @version 1.0
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "----PaymentFallbackService fall back paymentInfo_OK,o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "----PaymentFallbackService fall back paymentInfo_Timeout,o(╥﹏╥)o";
    }
}
